<?php
namespace app\home\controller;
use think\Controller;
use think\Request;
use phpexception\SuccessException;
use phpexception\ErrorException;
use app\BaseController;
use app\index\model\User;


class Index extends Controller
{
	//判断是否登录 
	public function login()
	{
		$user = controller('index', 'pointscontroller');
		$user->login(); 
	}

	//登录提交
	public function index()
	{
		$user = controller('index', 'pointscontroller');
		$user->index(); 
	}

}